package com.amose.springcloudoauth2server.authentication.service;

import com.amose.springcloudoauth2server.authentication.entity.UserInfo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author amose
 * @since 2021-07-01
 */
public interface IUserInfoService extends IService<UserInfo> {


    /**
     * 获取用户信息
     * @param userName 用户登录名称
     * @return 用户信息
     */
    UserInfo queryByUserName(String userName);
}
